<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>hello</title>
</head>
<body>

<div id="kuai">
    展示name的值：{{name}}

</div>
<script src="./node_modules/vue/dist/vue.js"></script>
<script>
    var heima = new Vue({
        el: "#kuai",
        data: {
            name: ""
        },
        created(){
            this.name = "我们终于看到了希望";
        },
        mounted(){
            this.name="保持，注意持久化"
        }
    });
</script>


</body>
</html>